# Maintainer: Peter Shkenev <santurysim@gmail.com>
pkgname=execline-man-pages
pkgver=2.9.3.0.5
pkgrel=3
pkgdesc="Unofficial mdoc versions of the execline documentation"
url="https://git.sr.ht/~flexibeast/execline-man-pages"
arch="noarch"
license="ISC"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~flexibeast/execline-man-pages/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check" # no tests
install_if="execline>=${pkgver%.*} docs"

package() {
	make DESTDIR="$pkgdir" install

	find "$pkgdir" -type f ! -name "*.gz" \
		-exec gzip -9 {} \;
}

sha512sums="
cd24ad64a4bbdec991ddaf069b0458bb0807b80dda9911c2458564430e5dc705aef8bf48fd05019d3a5acdeec93837deea57cbb785c5d18f9cf07bd0be180674  execline-man-pages-2.9.3.0.5.tar.gz
"
